# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo01
# Description:
# Author:       98745
# Date:         2019/3/20
#-------------------------------------------------------------------------------

class Myexception(Exception):
    pass
a=1
b=0
if b==0:
    raise Myexception('除数不能为0')
else:
    print(a/b)
print('--------------')
